package com.lyf.boot.modules.system.service;

import org.dromara.x.file.storage.core.FileInfo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author Luyufan
 * @date 2023/8/15 15:12
 */
public interface IFileService {

    /**
     * 上传文件
     * @author Luyufan
     * @date 2023/8/15 14:39
     * @param file
     * @param path
     * @param platform
     * @return FileInfo
     */
    FileInfo upload(MultipartFile file, String path, String platform);
}
